/**
 * output package name
 */
package com.kingdee.eas.basedata.person;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class CheckStateEnum extends IntEnum
{
    public static final int NO_CHECK_VALUE = 0;
    public static final int NOT_PASS_VALUE = 1;
    public static final int PASS_VALUE = 2;

    public static final CheckStateEnum NO_CHECK = new CheckStateEnum("NO_CHECK", NO_CHECK_VALUE);
    public static final CheckStateEnum NOT_PASS = new CheckStateEnum("NOT_PASS", NOT_PASS_VALUE);
    public static final CheckStateEnum PASS = new CheckStateEnum("PASS", PASS_VALUE);

    /**
     * construct function
     * @param integer checkStateEnum
     */
    private CheckStateEnum(String name, int checkStateEnum)
    {
        super(name, checkStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CheckStateEnum getEnum(String checkStateEnum)
    {
        return (CheckStateEnum)getEnum(CheckStateEnum.class, checkStateEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static CheckStateEnum getEnum(int checkStateEnum)
    {
        return (CheckStateEnum)getEnum(CheckStateEnum.class, checkStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CheckStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CheckStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CheckStateEnum.class);
    }
}